home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / af.xml < prev    next >
Encoding:
Text File  |  2002-09-30  |  2.7 KB  |  76 lines

  1. <search function="af">
  2.  
  3.   <name>AcronymFinder</name>
  4.  
  5.   <description>
  6.  
  7.     Find an acronym on AcronymFinder.<br/>
  8.  
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.  
  11.     <table class="helpboxDescTable">
  12.  
  13.       <tr><td>/exact</td><td> - </td><td>Exact Match (default)</td></tr>
  14.  
  15.       <tr><td>/reverse</td><td> - </td><td>Reverse Lookup (boolean AND keyword searches in acronym meanings)</td></tr>
  16.  
  17.       <tr><td>/begins_with</td><td> - </td><td>The search uses a wildcard character at the end of the acronym you type, so entering "AFR" would return all acronyms beginning with AFR -- AFR, AFRA, AFRC, AFREP, etc.</td></tr>
  18.  
  19.       <tr><td>/wildcard</td><td> - </td><td>To find meanings for any acronym containing the search string.  A search for AFR using this option would return meanings for AFR, AFRT, MAFR, etc.</td></tr>
  20.  
  21.     </table>
  22.  
  23.     <div class="helpboxDescLabels">Example:</div>
  24.  
  25.     <table class="helpboxDescTable">
  26.  
  27.           <tr><td>af SCUBA</td></tr>
  28.  
  29.       <tr><td>af laugh loud /rev</td></tr>
  30.  
  31.       </table>
  32.  
  33.   </description>
  34.  
  35.   <category>Reference</category>
  36.  
  37.   <link>http://www.acronymfinder.com/</link>
  38.  
  39.   <contributor>Nikolai Devereaux</contributor>
  40.  
  41.   <email>nikolai_at_bigaction_dot_org</email>
  42.  
  43.   
  44.  
  45.   <form name="aff"
  46.  
  47.         action="http://www.acronymfinder.com/af-query.asp"
  48.  
  49.         method="get">
  50.  
  51.     <input type="hidden" name="String" value="exact"/>
  52.  
  53.     <input type="hidden" name="Acronym"/>
  54.  
  55.   </form>
  56.  
  57.   
  58.  
  59.   <script><![CDATA[
  60.  
  61.     function af(q)
  62.  
  63.     {
  64.  
  65.       if( nullArgs("af", q) )
  66.  
  67.         return false;
  68.  
  69.         
  70.  
  71.       document.aff.String.value = "exact";
  72.  
  73.  
  74.  
  75.       var args = parseArgs(q, "exact, begins_with, wildcard, reverse" );
  76.  
  77.       if ( args.q == "" )
  78.  
  79.       {
  80.  
  81.         nullArgs( "af", "?" );
  82.  
  83.         return false;
  84.  
  85.       }
  86.  
  87.       else if ( args.switches.length >= 1 )
  88.  
  89.       {
  90.  
  91.         q = args.q;
  92.  
  93.         switch( args.switches[0].name )
  94.  
  95.         {
  96.  
  97.           case "begins_with":
  98.  
  99.             document.aff.String.value = "off"; break;
  100.  
  101.           case "wildcard":
  102.  
  103.             document.aff.String.value = "wildcard"; break;
  104.  
  105.           case "reverse":
  106.  
  107.             document.aff.String.value = "on"; break;
  108.  
  109.           case "exact":
  110.  
  111.           default:
  112.  
  113.         }
  114.  
  115.       }
  116.  
  117.      else 
  118.  
  119.        {
  120.  
  121.           openSearchWindow("http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=" + q);
  122.  
  123.           return false;
  124.  
  125.         }
  126.  
  127.         
  128.  
  129.       document.aff.Acronym.value = q;
  130.  
  131.       submitForm(aff);
  132.  
  133.     }
  134.  
  135.   ]]></script>
  136.  
  137.  
  138.  
  139.   <copyright>
  140.  
  141.     Copyright (c) 2002 David Bau
  142.  
  143.     Distributed under the terms of the
  144.  
  145.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  146.  
  147.   </copyright>
  148.  
  149. </search>
  150.  
  151.